

html {
	font-size: 100%;
}
/* body {
	font-family: 'Noticia Text', serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	background-color: #f7efeb;
	
} */
/* body, a, a:hover {
	color: #111;
}
a {
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}
a, a:hover {
	text-decoration: none;
} */
nav {
	width: 100%; /* 1000 */
	font-family: 'Open Sans', sans-serif;
	/* font-weight: 400; */
}
nav .burger  {
	display: none;
}
nav li {
	position: relative;
	background-color: transparent;
	list-style-type: none;
	
}
nav a {
	color: #dd9661;
	display: block;
	text-decoration: none;
	
}
/* #nav a:active {
	background-color: #c00 !important;
} */

nav ul ul li {
    width:170px;
	float:none;
	display:list-item;
	position: relative;
}
/* first level */

nav > ul {
	height: auto; /* 60 */
	/* background-color: #e15a1f; */
	
	padding: 0;
  margin: 0;
	list-style: none;
	position: relative;
	/* align-items: center; */
	display: flex; 
    flex-direction: row;
	justify-content: center;
	/* border-radius: 10px; */
}
nav > ul > li {
	width: 20%;
	height: 100%;

	display:inline-block;
	/* color: red; */
    background-color: white;
    border-radius: 10px;
	-webkit-box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.5);
	margin: 0.2em;
}
nav > ul > li > a {
	height: 100%;
	font-size: calc(1vw + 1vh + .5vmin); /* 24 */
	line-height: 2em; /* 60 (24) */
	text-align: center;
	padding: 0 0.5em 0 0.5em;
}
/* #nav > ul > li:not( :last-child ) > a {
	border-right: 1px solid #cc470d;
} */


nav > ul > li:hover > a, nav > ul:not( :hover ) > li.active > a {
	background-color: grey;
	border-radius: 10px;
}



/* second level */


/* Submenu verbergen, solange es nicht angewält wird */
nav ul ul {
	
	display: none;
	position: absolute;
	top: 100%;

}



/* GREEN */
/* Submenu anzeigen wenn es gehoovert wird */
nav ul li:hover > ul {
	display: block;
	left: 0;
	right: 0;
	background-color: transparent;
}


/* #nav li:not( :first-child ):hover ul {
	left: -1px;
} */
nav li ul a {
	font-size: calc(1vw + 1vh + .5vmin); /* 20 */
/* 	border-top: 1px solid blue; */
	padding: 0.75em; /* 15 (20) */
	background-color: white;
	border-radius: 10px;
	-webkit-box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.5);
}

/* YELLOW */
nav li ul li a:hover, nav li ul:not( :hover ) li.active a {
	background-color: grey;
}


			/* ****************************** Media Queries ******************************** */


 @media only screen and ( max-width: 62.5em ) /* 1000 */ {
nav {
	width: 100%;
	position: static;
	margin: 0;
}
}
 
 

 
 @media only screen and ( max-width: 40em ) /* 640 */ {
html {
	font-size: 75%; /* 12 */
}
nav {
	position: relative;
	top: auto;
	left: auto;
}



/* ANFANG - Der Burger vom Burgermenu, also die class "burger" */
	/*Hamburger-Icon*/
a.burger {
	padding-top: 1em;
	padding-left: 1em;
    font-size: auto;
	text-decoration: none;
	}

	/* Hier wird dem Burger(button) die Funktionalität hinzugefügt Erklärung: https://www.sitepoint.com/css-selectors-not-target/*/
nav:not( :target ) > a:first-of-type, nav:target > a:last-of-type {
	display: block;
	/* border-radius: 10px; */
	}
/* ENDE - Der Burger vom Burgermenu */




nav li ul a {
	font-size: 1.25em; /* 20 */
/* 	border-top: 1px solid blue; */
	padding: 0.75em; /* 15 (20) */
	/* background-color: red; */
	/* border-radius: 40px; */
	-webkit-box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.5);
}



/* Erste Ebene */

nav > ul {
	height: auto;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	/* background-color: red; */
	/* padding: 1.25em; */
}
nav:target > ul {
	display: block;
	background-color: transparent;
}
nav > ul > li {
	width: 100%;
	float: none;
}
nav > ul > li > a { /* Hier schauen, ob damit die Größe des Mobilemenus verändert werden kann */
	height: auto;
	text-align: left;
	padding: 0 0.833em; /* 20 (24) */
}
nav > ul > li:not( :last-child ) > a {
	border-right: none;
	border-bottom: 1px solid #cc470d;
}
/* Zweite Ebene */

nav li ul {
	position: static;
	padding: 1.25em; /* 20 */
	padding-top: 0;
	background-color: transparent;
	color: transparent;
}






/* Möglichkeit um Symbole hinter oder vor Menüpunkte mit Dropdown einzufügen (um Untermenüs kenntlich zu machen */
li > a::after { content:  ' ⇩'; }   /* oder before, damit das Symbol vor dem Content steht */
li > a:only-child::after { content: ''; }

/* Links zur Erklärung: 
https://developer.mozilla.org/de/docs/Web/CSS/::after
https://developer.mozilla.org/de/docs/Web/CSS/:only-child */


}